package com.lic.license.util;

import java.io.File;

/**
 * @author Hewb
 * @ClassName: FileUtil
 * @Description: TODO
 * @date: 2020/7/13 17:26
 * @since JDK 1.8
 */
public class FileUtil {



    public static void  ofFile(String path){
        File file = new File(path);
        if (!file.exists() && !file.isDirectory()) {
            System.out.println("//目录不存在，正在创建...");
            try {
                if (file.mkdirs()) {
                    System.out.println("创建成功");
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }

}
